<?php

namespace Queue\Interfaces;

interface ProcessInvokerInterface
{
    public function run(TaskInterface $task, string $worker): int;

    public function isRunning(int $pid): bool;
}
